@use '../../scss/variables' as *;

.menu-bar {
  height: $toolbar-height;
  padding: 0 15px;
  border-bottom: 1px solid var(--secondary-color);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex: 0 0 auto;
  background-color: var(--background-color);

  .notes-title {
    font-size: 16px;
    font-weight: 500;
    flex: 0 1 auto;
    overflow: hidden;
    text-overflow: ellipsis;
    color: var(--primary-color);
  }

  .icon-button {
    flex: 0 0 auto;
  }

  .icon-button svg.icon-menu {
    width: 24px;
    height: 24px;
  }

  .button {
    padding: 0;
    width: 32px;
    height: 32px;
  }

  .icon-button:disabled {
    svg {
      cursor: default;
    }
  }
}
